package com.tjmc.finance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tjmc.recruit.common.core.util.R;
import com.tjmc.recruit.finance.api.entity.MemberInfoEntity;
import com.tjmc.recruit.finance.api.vo.MemberInfoVO;

public interface MemberInfoService extends IService<MemberInfoEntity> {
    /**
     * 根据ID查询会员及权益信息
     * @param memberId 会员ID
     * @return
     */

    R<MemberInfoVO> getMemberById(Long memberId);

    /**
     * 根据用户ID查询会员及权益信息
     * @param accountId 用户ID
     * @return
     */
    R<MemberInfoVO> getMemberByUserId(Long accountId);
}
